home *** CD-ROM | disk | FTP | other *** search
- /************************************************************************************/
- /* TextDrawProc */
- /* This routine should be invoked between a BeginUpdate and EndUpdate sequence, */
- /* usually after an Update event in the main event loop. */
- /************************************************************************************/
-
- #include "MyHeaders.h"
-
- short TextDrawProc ()
- {
- short TextDrawRetCode = 0;
- PicHandle thePic; /* for background picture */
-
- SetPort (windTbl[windSub].windPtr); /* set as the grafPort */
-
- myActionProc (windTbl[windSub].windCntlH[0], 0);
-
- DrawControls (windTbl[windSub].windPtr); /* draw un-hidden controls */
-
- /* draw/erase grow icon */
- DrawGrowIcon (windTbl[windSub].windPtr); /* and draw lines */
-
- TEUpdate (&(**windTbl[windSub].windTEH[0]).viewRect,
- windTbl[windSub].windTEH[0]);
-
- return TextDrawRetCode;
- }
-